// 汉字排序
function replaceCNNumberStr(v){
    return v.replace(/\u4e00/,'1').replace(/\u4e8c/,'2').replace(/\u4e09/,'3').replace(/\u56db/,'4').replace(/\u4e94/,'5').replace(/\u516d/,'6').replace(/\u4e03/,'7').replace(/\u516b/,'8').replace(/\u4e5d/,'9').replace(/\u5341/,'10');
}
function sortText(a,b) {
    a = replaceCNNumberStr(a);
    b = replaceCNNumberStr(b);
    return ((a < b) ? -1 : ((a > b) ? 1 : 0));
}